package com.ksl.kinglockguard.receiver;




import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.ksl.kinglockguard.network.NetworkTask;
import com.lsk.open.core.MyLog;

public class CountUserReceiver extends BroadcastReceiver{


	@Override
	public void onReceive(Context context, Intent intent) {
		if(intent.getAction().equals("intent.com.ksl.usercount_upload")){
			// 退出统计数据
			try {
				MyLog.i("ydy","CountUserReceiver *****************!!!!!!!**********");
				NetworkTask.uploadUserCount(context);
			} catch (Exception e) {
				e.printStackTrace();
			}			
		}
		
	}
}

